package com.example.demo.repository;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.example.demo.custom.BaseRepository;
import com.example.demo.entity.TwoCompany;
import com.example.demo.entity.TwoCompany2;
@Repository
public interface TwoCompany2Repository extends BaseRepository<TwoCompany2, Integer>{

	List<TwoCompany2> findByTwoCompany(TwoCompany two);

	List<TwoCompany2> findByTwoCompanyId(Integer id);

}
